added POT file writer