Slave logic