change name of truncate to truncateX