Getting generator to work...still in progress.