logging for my understanding