Adding a Generator