added a reset facility for demoing