added dac and trim parsing