managed to reduce verbosity of simply adding a statement to a block (though solution is hacky)
add array index exp