removed unused variable
removed unused variable
removed unused part of the code