first draft of static generator class