adding pagination to import