add example for ParseWithDirect