refactor staffLines