What is principle enables all electric generators to operate