adding outputTrace flag