proverb refactor