adding more data logging