eliminate some uses of prcontext. Any help here would be appreciated :)