Code generating initialize_chunk and generate .. but structs not working