adding loading dialog and cycle time changes