added demoFromStringBase, fixed RandomProvider