small changes and more graph codes