latest layout and print func