let funcs = [...Array(10).keys()].map(i => () => i*i);