add initial codes and properties