make layout internal