thanks for fixing this @twpayne good to know what the way to do this with closure is