refactoring numeric suffix hunting into a separate method