added a progress meter