add simulation mode