Added code to build schedule list (not finished)