added github api calls