changed from a >= to a ~