documenting rnglib