removed duplicate  variable