changes for slave