fixed and tested econ code 132801