added a default value for deleted