How a missile works