Does having a nested function provide any benefit.