Pagination is ugly but working.