add SetEnclosure method