cocooning. fixes #66