Use hhash instead of case