added get_rows()