make it work to save data to github