refactoring of the longest-method-names methods