removed slave mode