Modified the add peer command at high level