updated class documentation