Added new hashing method