demo and config