graph parsing example done