sync/trim chapter 3