writeManganese