minor r changes