figured out why hash lookup wasnt working