modify to code