Commit gen code