Removing unused variable