ex12 and ex13 if/switch
added sometimes Y case