Basic callback function example