add the function to get RatioMap