copy initial code