initial code frame