working on new schedul implemtation