added Ratio class