working hashes with get method