some work related to mqtt