adding IClosable