using a loop to make sub module able to get incoming message.