New approach to reset().  First draft of parser().