"to prevent a crime from being committed,"