debugging messages and monitoring