work on advanceDirectives