add Truncate method