added print single gist function