adding routine planning