Returning early rather than spanning variable