Changed if in set to >= instead of >