added addgithub function