created peer manager trait