adding a method for gists