Add rudimentary violation detection