highlighting functionality is now working