finally calculations are working...