Implementing Else-If highlighting