Try to use hash_transforn here