#9 - added generator util