allow multiple ending states