choose layout:  transferred code to show current layout.