now pass schedule and startDate around, it works but seems inelegant
TODO update