simplify for ui