setup of spring