behavior: send debug messages function added