initialize tasks as empty array