add reversed main. Bit of formatting.