task param and model type need work