add priority to msg so that alarming can decide emition time