Write functions using switch statements