extended ui and model to support name and message