break and continue statements worked