set initial conditions