functions added for the industry part of this assignment