added flag for past semesters