Amend to code