Smart way to stop the fire