finished adding rudimentary verification mode