added Plan to Opt, wondering why the hell the Mode destructor is being called in the middle of the Plan constructor