some additions to pryrc