added two-map verification