added randomdata saver in PartII