Modified generator main