tried replicating a graph in the alternative version, gives a seemingly incorrect result