added a missing function `basis`