Removing an unused variable