added breaks to code