addded compare of sems