messing around with hash generation