making this a bit more readable, and adding another layer of closure;