ok, this code works this case but it is just a good luck for you this time.
it is much better to use integer constants and make a `switch`.