added matlab control, no need for RR