hash lookup works