updated the logger so that it now also push the data out the serial