progress: new fn in utils, with a test case