added uint and finished Ratio