HELLO message logic