layout and search