now can generate tasks