added support for enclosure