Generator works now