spatial model setup