just in progress
add function `truncateTable()`