added the change method