The planning phase