hydra code generation