working on sending hashes