added ppm input format