init alpha code