polygon highlighting refactoring
line highlighting refactoring
highlighting refactoring