Implement insert_row