changed the mate command a bit