Adjust

adjusting the calculations