remove need for graph