Legal problems cost businesses time, money