Basic remunging
Compiles, not tested