Example implementation for callback function

Please enhance my word :)