added UnitType.cpp