added document from class