removed logging
added lazy loading of hash