more work on mqtt comm