now with finer resolution and a progress counter