multiple grids not correctly supported because of hoisted variables
add more examples