removed all the trim noise code