added static scope to class scope
added continue\break only inside loops