modify to how to provide initial condition