removed a 'break' outside of loop