Adding the baseline calculation