removes unused variable