removal of a refrence