Changes 2

modified the calculation