code violations and legal issues