This function takes the following parameters:
One of the berval structures
The other berval structure