pagination control added to helpers