imported data and added pagination to reduce latency