Added a run loop