Generator function + settings added