added ppm-writing module