added method convert_unit