added a break for slightly more optimization