put tasks within restart