.print() added as a sink to datastream