updated, first draft after moving to g4 package