hashes made for exists? method
better each loop for exists?
changed loop