Added several trace logs