Added trace statements