build output, snip everything above class