added crystalgen generator