switched to cabal, api exported