add logs to understand processing