Remove HAL
Basic pagination logic