3.0 base code setup