adding task structures