added range validation (missing, whoops!)