This callback needn't be a closure. move it to the module level.