create wt sub generator