unit conversion class created