Industry Function

added if else block