added slave of ip parameter