Started on the main loop