updated ```if status != 200``` with ```if status >= 300```