added master ip and port through attributes