use the right hash