better integrated data logging