finish debug on message passing part