cleaned up Graph