document instance var