add paginatation variables