Added ratio to template