criminal law framework