implemented break, next and return control flow functions