control code written in maltab