added deallocation methods the the container and the interface procedures