fixed cyclic data generation