switch case instead of dumb if/else crap