Changed impementation to fit github api V3