added KSS support and examples