pass ui model around instead of more specific ones