adding delete functionality to the mappers