started work on DocumentCollection class