Added splitting of output