switching around the order