Changed output type ads. Written collection of data output