compile schedule