Added in graph movement for row a - not sure on math