modified location of debug statement