removed second stock calculation