Added prc reader code