model and app generated