Added functions and decorators
Finished functions and decorators