An electric engine works