Changed loop termination with "return", "break only works within a for loop; "line 277.