added break and continue functions