Updated loop

Still having repitition issues. Added a break for now to kill the
endless loop