Prince | adding callback for api calls