testing generic document... getting non-staic issue