add method which exctract method name from tuple for class
small refactor