+ added verification for function generator.
* after calling setters the function generator object now correctly updates its attributes