Updated peer code