making that last number check a bit more clear