-removed unused variable