added truncateTable