simplify the example in UI