commit with sub generator