refactor highlight into its own method