removing unused variable in example