Planning ahead can really pay off.