added get_next_row