expose more functions in api