adding wire protocol