use new var style

suggested by Stephan Hochhaus