fixed the import style
expose a class method instead