verification routine