creating functions to get and modify content of the gist