added pagination for dex