add support for scalar & array iteration
codegen wibble