added displayUnit support