added function to manually highlight text