new cs code

new cs code in place.