removed call to anonomous function used only for debugging