clean up verify() method