refactor echoshared initiator