added support for ad-hoc messages from PD
added support for ad-hoc messages from PD