Trying to create a conditions based on number range