Create 3 functions

Create 3 functions