changed the layout of cp2 added color code to cps