begin handle message