changed LOC to new visitor interface