Working simple tabulation hash