implemented add hosts to matrix rows command