initial layout and after logging sample layout