added compare of sems