Used same variable for two things.