Add commenting to main loop