todo for models,joinmodel