iterating, still some issues with the compiled Gavin code