change return type of the planit date