Functional cc gen, first commit