refactor out var; getting dnasse working again