adding smart table support