if you take the above approach checking > 199 and < then 300 is the right thing