probably should use ``self.logdebug()`` here instead of print.