added debug trace statements