initial mean setup