add delete function for daos