another major rehaul

now generate_hello works too