more work on peer and paths structures