almost there. As you're checking values stored in compiel time stuff, you should even don't need if but a jump into a properly dispacthed function I guess.