added isDeleted