code from cc part of project added