#4 | switch to getMethods, to access all class methods