create demo function
ui model and wire format