scheduler starts and stops