replace Hash key with Hash-and-rane, this is the only way too be able to make some queries