a lot of changes, now task has its own template! according to task type