//moved to progress.js