add tasks to scheduler