renamed/reordered dictGet function to getIn