CS implementation