printing debug messages