change nics to paginated macro