Example of a simple function