adding simulategeneration