initial tasks and vars