Converted add ratio to doT template