added reset facility for demos