Adding option deduction and coloring.