Modified generator..