should this return an error if there weren't two hashes?