Why did you redefine same variable twice?