Adding a callback parameter

Changing the location of the appeal to the callback function