planning and doc