Initial version of planning