get the rows recursively.