generalizing units
changed cabal