progress calculation changes