new functions for github API