working text highlighting