removed old graph stuff