made document properties dynamic