added meta block analyser + code gen