added Ratio constructor