new function is added to add complilation unit to project