Added progress loop