make it use the generator-hexe pattern