init for run