Adding example with stat server