integrate new pure layout and pagination