edits to reflect change in rnglib API