milestone 2 - refined calculation