add truncate procedures
Merge remote-tracking branch 'origin/master' into solo