some working with doc class