My own generator