Contraventions and their applications