violation record, kind of done, just have to debug......