add table support
suppor smarty