deleted unit.ccp and added getRepresentation to unit