possible nested function identation fix?