further work on document