that still gave me an empty hash, the problem is not reading the text from the file (I successfully filled out an array using the same code) It's just that when I try to put into the hash it fails. Am i using the right method to edit the hash after it's already been declared.