loop logic up and running