Change closure definition