use self.debug levels, remove testing flag
use debug level everywhere