added alternate truncate method