pagination still not perfect, add graph or table