add ratio method