updated notes
now trimming traces properlt