updated readme to show the use of callbacks