An engine works