finish message passing