updated dereferencing style of hashes