demo and config example