It pays to plan ahead