deleted some unused declared variables