added plan adaptation