sems added
minor bug in sem 6 onwards