add sample ui code.