use strict, move Generator to helper