use destroy() from xs-functions
source xs-functions EARLY because some validation/initialization needs it