Adding p1 adaptation and ode examples