Defining functions

Defining functions