Added ratio computation