trimmed a bunch of copy()s