started to implement own pagination