adding pagination information