preparing to integrate with docplanner 3