adjust the order and the content