allowed graph to work