preparing to integrate with docplanner 2