change the order of sides