added octave stuff