Got code generation from hints working