tighten up range used to check conditions