initial common setup