added method to get unit name