add functionality for github api