add scheduler