Removed debugger line from helper function.