add method which exctract arguments from outer method; refactor