replaced closure solution with simple variable