Functions

The functions have been added