schedule view

got query working with the schedule view, not perfectly aligned yet but
working.