Slave program structure added.