add tasks and json