work on pgraphs and traversal