removed unusued var