added peer handler