amend function name