changed variable on to stock