simulates