removed old debug statement
more logging when sending messages