first working generator