Making a switch statment
Defining user functions