rise_flags can now be a cell array with two columns