use i, j, l as ref closures