renamed delete() as markAsDeleted