added a software reset.