highlighting part works correctly