You already check the argument value on line 21. I would do all the checks there. Then just push the argument here.