added comments to paginator