removed function call pointing to undefined function
default generator much bettered now