added possibility that .prf is absent