refactoring: extracted method, changed outside of board