added optional parameter number_of_days for getting schedule information