add in some reset circuitry