isDeleted variable created