Extending functions with new functionality

Extending functions