lazy creation of the plans