apply new usage of jenerator