stage 2! hash comparison works