added id field to schedule