Add random libraries.
added persistence