amend global varibale names