creating schedule