Refactor into one extract method to rule them all