new struct of the codes