Added Functions

Functions have been added to the function