added function to decrease progress