truncate: add def begins
Merge branch 'lib'