refactor to unfusticate phrase graph