Functions

Uploading the functions for use