Changed closed to boolean from string