missing function setUnit