reproduce bs data generation