This is for trying amend function