add base ui and model