added a generator