statutory violation as a breach of contract