model_source as a tree