add peer state example