Renamed var for consistency; added argument guard.