Finished part IX and X (pagination and search)