added two references for generator