Make new struct of code