correction
initial work at generating graphs