if i have class function1 function2 that class encapsulates the functions, and those functions can be called on with the class name. function 2 cannot call on function 1, however, as it's encapsulated deeper than function 1 is.
dont nest functions