a person commits a crime when they break the law