add navigation and pagination