99 problems, but if-else aint one