refactoring: remove visitor-method