proverb refactoring