prevents the accumulation of variable