[init] wrote initial code