I have a function that have nested functions. I call the sub functions inside the main function body, but the problem is that the methods such as head() or
head()