added peer class