logick for schedule generation is preliminary but here
diagnostic is working again ugh