replace task type with task domains