unnecessary creation of a function and then immediate call of that function.