add step to graphs