Xgraph stuff?
updated graph working