got rid of wasteful breaks