initial code