code amend