indent and add missing function