new code, get Schedule, needs testing but logic pretty cool