apply extract method
method renaming