better gist wrapping