addition of sub generator