Same variable were used twice for different purposes