removed unused set_row from capture