flag and schedule