CLASS SIMULATION