add start and stop tasks