renamed delete() as markAsDeleted()