A closure would be better