updating progress calculator to be better