Getting safer with my vars

Why assume that someone will pass back what I need and that it's going to be safe. Make sure that I'm giving an integer that's not negative and be safer.