adds current progress function and implementation