generator utitities mostly working