background
pds work
more progress and trimming