re-adding main loop