Certain actions, even when incomplete, can constitute actus rea, and the mens rea of the incomplete offence is usually the mens rea of the main offence. Crime prevention is a function of criminal law (deterrence). Thus, incomplete offences are punished even though it is not as much as the main offence.