sorted out how to use cabal