replace code with gist