add table for storing plan