added ratio in nodes