adds task that needs prerequisites