proper CS server implementation using Server Events