foo
use rand in old version of matlab
save subject log file