Supporting classes for peer client #6