document two functions
add git info to cabal file