ability to return from a for loop