some lines dropped, got rid of gist example