through working ui and model