some progress towards solving array bug
some progress towards solving array bug
fixed converter to generate arrays correctly