Rudimentary generators working