add condition to highlight either box