upload initial codes