Began adding delete function to ERM