Added some trace messages