Added modifications for order not mattering.