added truncation of table