new truncate method