Program does not go into the switch statements at all !