Used .fetch to get value of hash so it will raise an error if the hash is nil