view schedule is almost working