added truncate and remove-truncate