simulation with bugs