finished Industry function

minor changes

and re tested