added truncate