adding ghost api calls