add result per page in for loop