added duration calculation logic for industries