simplify opt