document wave gen