initial code: