mported the simulator (example using various patterns