Between the brace closing the while and the return statement. In any case, since the return is only one line, I don't particularly think it is bad style either.