began adding haddock documentation