industry functions fix

realized what I was doing was very very stupid