first setup for foundation