updated ratio method