add getCCode and more