updated with pulling data from cdv for graph
small fix