add logging counters
add more logging