added truncate; fixed typo