getting rid of print statement in ratio