add mixin truncate