added initial condition to levels