added code to make schedule and calculate scores