removal of unused variable